Page({
  data: {
    userInfo:{}
  },
  onLoad: function (options) {

  },
  handleGetuserinfo(e){
    const {userInfo} = e.detail
    wx.setStorageSync('userInfo', userInfo);
    wx.switchTab({
      url: '../user/index'
    })
  }
})